package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjWorkOrder;
import com.zb.entity.ZjWorkTotalFeeFreeze;

import java.util.List;

/**
 * <p>
 * 工单总费用冻结占用释放表，与工单一对一 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-04-07
 */
public interface ZjWorkTotalFeeFreezeService extends IService<ZjWorkTotalFeeFreeze> {

    /**
     * 解冻/释放占用
     * @param custAccId 商家平台ID
     * @param factoryId 品牌商家ID
     * @param workId 工单ID
     */
    void saveUnfreeze(Long custAccId, Long factoryId, Long workId);

    /**
     * 解冻/释放占用
     * @param custAccId 商家平台ID
     */
    void saveUnfreeze(Long custAccId, List<ZjWorkOrder> orderList);

}
